//
//  CAIUpdateAlertConfiguration.h
//  CAIUpgradeManager
//
//  Created by 海参 on 2022/7/8.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, UpgradeDoButtonCornerType)
{
    //圆角，普通
    UpgradeDoButtonCornerTypePlain = 0,
    //圆角，圆角半径是高度的一半
    UpgradeDoButtonCornerTypeRound = 1,
};

@interface CAIUpdateAlertConfiguration : NSObject

/// 图
@property (nonatomic, strong) UIImage *iconImage;
/// 按钮背景图
@property (nonatomic, strong) UIImage *doButtonBackgroundImage;

/// 按钮背景色
@property (nonatomic, strong) UIColor *doButtonBackgroundColor;

/// 按钮title
@property (nonatomic, copy) NSString *doButtonTitle;

/// 设置'立即体验'按钮圆角类型；默认UpgradeDoButtonCornerTypePlain
@property (nonatomic, assign) UpgradeDoButtonCornerType doButtonCornerType;

/// 设置'立即体验'按钮圆角,只有UpgradeDoButtonCornerTypePlain才有效
@property (nonatomic, assign) CGFloat doButtonCornerRadius;

@end

NS_ASSUME_NONNULL_END
